package com.itfetter.api.client.fallback;

import com.itfetter.api.client.PayClient;
import com.itfetter.api.dto.PayOrderDto;
import org.springframework.cloud.openfeign.FallbackFactory;

public class PayCliectFallback implements FallbackFactory {
    @Override
    public Object create(Throwable cause) {
        return new PayClient(){
            @Override
            public PayOrderDto queryPayOrderByBizOrderNo(Long bizOrderNo) {
                return null;
            }
        };
    }
}
